﻿Public Class cargoVO


    Private _id_cargo As Integer
    Private _desc_cargo As String
    Private _status As Boolean

    '-------------------------------------
    ' MÉTODO CONSTRUTOR SEM PARAMETROS
    '-------------------------------------

    Sub New()
        _id_cargo = Nothing
        _desc_cargo = Nothing
        _status = Nothing
    End Sub

    '-------------------------------------
    ' MÉTODO CONSTRUTOR COM PARAMETROS
    '-------------------------------------

    Sub New(ByVal id_cargo As Integer, _
            ByVal desc_cargo As String, _
            ByVal status As Boolean)

        _id_cargo = id_cargo
        _desc_cargo = desc_cargo
        _status = status


    End Sub

    Public Property ID_CARGO() As Integer
        Get

            Return _id_cargo

        End Get
        Set(ByVal value As Integer)

            _id_cargo = value

        End Set
    End Property

    Public Property DESC_CARGO() As String
        Get

            Return _desc_cargo

        End Get
        Set(ByVal value As String)

            _desc_cargo = value

        End Set
    End Property

    Public Property STATUS() As Boolean
        Get

            Return _status

        End Get
        Set(ByVal value As Boolean)

            _status = value

        End Set
    End Property

End Class
